<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h1>Axios</h1>
		<div id="aa2">
			<h3 v-for="i in users">{{i}}</h3>
		</div>
		<script src="../js/axios.js"></script>
		<script src="../vue.js"></script>
		<script>
			
			let user = {
				name: '小法',
				sex: '男'
			}
			axios.delete("http://localhost:8090/user/deleteByName",{params: user})
				 .then((res6) => {					 
					 const a = new Vue({
						 el: "#aa2",
						 data: {
							 users: res6.data
						 }
					 })
					 
				 })
			
		</script>
	</body>
</html>
